<div class="wide form">

<?php $form=$this->beginWidget('CActiveForm', array(
	'action'=>Yii::app()->createUrl($this->route),
	'method'=>'get',
)); ?>

	<div class="row">
		<?php echo $form->label($model,'id'); ?>
		<?php echo $form->textField($model,'id',array('size'=>4,'maxlength'=>4)); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'title'); ?>
		<?php echo $form->textField($model,'title',array('size'=>60,'maxlength'=>255)); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'percent'); ?>
		<?php echo $form->textField($model,'percent'); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'status'); ?>
		<?php echo $form->dropDownList($model,'status', array('' => 'all', 1 => 'enable', 0 => 'disable')); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'description'); ?>
		<?php echo $form->textArea($model,'description',array('rows'=>6, 'cols'=>50)); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'created_from'); ?>
		<?php
            $form->widget('zii.widgets.jui.CJuiDatePicker', array(
                'name'=>'Tax[created_from]',
                'options' => array(
                    'dateFormat' => 'dd/mm/yy'
                ),
            ));
         ?>
	</div>
    <div class="row">
		<?php echo $form->label($model,'created_to'); ?>
		<?php
            $form->widget('zii.widgets.jui.CJuiDatePicker', array(
                'name'=>'Tax[created_to]',
                'options' => array(
                    'dateFormat' => 'dd/mm/yy'
                ),
            ));
         ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'created_by'); ?>
		<?php echo $form->textField($model,'created_by'); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'modified_from'); ?>
		<?php
            $form->widget('zii.widgets.jui.CJuiDatePicker', array(
                'name'=>'Tax[modified_from]',
                'options' => array(
                    'dateFormat' => 'dd/mm/yy'
                ),
            ));
         ?>
	</div>
    <div class="row">
		<?php echo $form->label($model,'modified_to'); ?>
		<?php
            $form->widget('zii.widgets.jui.CJuiDatePicker', array(
                'name'=>'Tax[modified_to]',
                'options' => array(
                    'dateFormat' => 'dd/mm/yy'
                ),
            ));
         ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'modified_by'); ?>
		<?php echo $form->textField($model,'modified_by'); ?>
	</div>

	<div class="row buttons">
		<?php echo CHtml::submitButton('Search'); ?>
	</div>

<?php $this->endWidget(); ?>

</div><!-- search-form -->